package com.oracle.applicaiton.feign;

import com.oracle.applicaiton.vo.MemberVo;
import com.oracle.application.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author bug制造者
 * @ClassName MemberFeign.java
 * @createTime 2021年07月08日 14:42:00
 * @Description
 */
@FeignClient(value = "bookstore-member-server",path = "/member")
public interface MemberFeign {

    @GetMapping("/getMemberByLoginname")
    public R<MemberVo> loginMember(@RequestParam("loginname") String loginname);

}
